import Vue from 'vue'
import Router from 'vue-router'
import ShopMall from '@/components/pages/shopMall'
import Regist from '@/components/pages/regist'
import Login from '@/components/pages/Login'
import Goods from '@/components/pages/good'

Vue.use(Router)

export default new Router({
  routes: [
    {path: '/',name: 'shopMall', component: ShopMall},
    {path: '/regist',name: 'Regist', component: Regist},
    {path: '/login',name: 'Login', component: Login},
    {path: '/goods',name: 'Goods', component: Goods},
  ]
})
